

<!DOCTYPE html>

<html lang="en">

<head>

    <meta charset="UTF-8">

    <title>登陆界面</title>

</head>

<body>

<div id="form1">

    <h2>用户登陆</h2>

    <form action="http://localhost:8080/homework/loginServlet" method="post">

        <tr>
            <td>姓名</td>
            <td><input type="text" name="name"/></td>
            </br>
        </tr>

        <tr>
            <td>密码</td>
            <td><input type="password" name="password"/></td>
            </br>
        </tr>

        <tr>
            <td align="right"><input type="submit" value="登陆"></td>
        </tr>

    </form><br/>

</div>

</body>

</html>